package com.woniu.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniu.entity.Book;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author huangjianbin
 * @since 2023-02-02 08:51:05
 */
public interface BookService extends IService<Book> {

    Page<Book> getPageBook(Integer currentPage, Integer pageSize);

    Page<Book> getPageBooksByTypeId(Integer currentPage, Integer pageSize, Integer typeId);
}
